/*********************
* Author:Dzlua
* QQ:505544956
* time:2016/11/07
*/
#ifndef __EDUI_ICURSOR_H__
#define __EDUI_ICURSOR_H__

#include "../core/Base.h"

EDUI_NAMESPACE_BEGIN

class ISurface;

class EDUI_API ICursor
{
public:
	virtual void Release() = 0;
    virtual bool Create(const Uint8* data, const Uint8* mask, int w, int h, int hotX, int hotY, const char* name, int id = -1) = 0;
    virtual bool Create(ISurface* surface, int hotX, int hotY, const char* name, int id = -1) = 0;
    virtual bool Create(SystemCursor sysid, const char* name, int id = -1) = 0;
    virtual void Destroy() = 0;
    virtual bool IsOK() = 0;
};

EDUI_NAMESPACE_END

#endif